Skip to content

fix(tpcdsgen): Fix customer.dat to match C dsdgen#266

Merged
alamb merged 2 commits into
clflushopt:mainfrom
alamb:alamb/fix_customer_in_c
May 21, 2026
Merged

fix(tpcdsgen): Fix customer.dat to match C dsdgen#266
alamb merged 2 commits into
clflushopt:mainfrom
alamb:alamb/fix_customer_in_c

Conversation

@alamb
Copy link
Copy Markdown
Collaborator

@alamb alamb commented May 14, 2026

Summary

The Trino Java reference writes ISO_8859_1, but the original C dsdgen writes in UTF-8

Adjust the output format so that the C compat mode output matches

Closes clflushopt#261.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alamb alamb changed the title fix(tpcdsgen): emit UTF-8 in --compat c so customer.dat matches C dsdgen fix(tpcdsgen): Fix customer.dat to match C dsdgen May 14, 2026
Comment thread tpcdsgen/src/output.rs
@alamb alamb requested a review from clflushopt May 14, 2026 16:36
@alamb alamb marked this pull request as ready for review May 14, 2026 16:36
Copy link
Copy Markdown
Owner

@clflushopt clflushopt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm thanks !!

# Conflicts:
#	tpcdsgen/scripts/README.md
#	tpcdsgen/src/output.rs
@alamb alamb merged commit d362ab5 into clflushopt:main May 21, 2026
26 checks passed
@alamb
Copy link
Copy Markdown
Collaborator Author

alamb commented May 21, 2026

Thanks gain @clflushopt

@alamb alamb deleted the alamb/fix_customer_in_c branch May 21, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TPC-DS] Fix C inconsistency with "customer" table

2 participants